html,
body {
  width: 100%;
  font: normal 12px 'Microsoft YaHei';
  margin: 0;
  /* color: #ededed; */
}
a {
  text-decoration: none;
}
ul{
  margin: 0px;
  padding: 0px;
}
li{
  list-style: none;
}
header,
section,
footer {
  width: 100%;
}
i.iconfont{
  width: 12px;
  height: 12px;
}
.top,
.recommend,
.search,
.middle,
.nav {
  width: 1200px;
  margin: 0 auto;
}
/* 顶部样式 */
header {
  background-color: #333;
}
.top::after {
  clear: both;
  display: block;
  content: '';
}
.top > div {
  line-height: 3em;
}
.top .left {
  float: left;
  color: rgb(196, 152, 96);
}
i.iconfont-tongzhi{
  display: inline-block;
  width: 25px;
  height: 25px;
}

.top .left:hover {
  color: #fff;
  cursor: pointer;
  text-decoration:none;
}
.top .right {
  float: right;
}
.top .right>ul::after {
  content: '';
  display: block;
  clear: both;
}
.top .right>ul>li {
  float: left;
}
.top .right>ul>li a {
  display: inline-block;
  line-height: 1em;
  width: 80px;
  color: #bcbcbc;
  text-align: center;
  border-right: 1px solid #dfdfdf;
}
.top .right>ul>li a:hover {
  color: #fff;
}
.top .right>ul>li:last-child a {
  border: none;
}
/* 内容 */
section {
  background-color: #fff;
  margin: 1em auto;
}
/* 头部 */
.middle {
  margin: 2em auto;
}
.middle::after{
  content: '';
  display: block;
  clear: both;
}
.middle .logo {
  width: 300px;
  height: 100px;
  float: left;
}
.middle .logo img{
  width: 100%;
}
.middle > .search {
  float: left;
  width: 500px;
  height: 60px;
  margin-left: 80px;
  line-height: 80px;
  position: relative;
}
.search_top .icon-search {
  position: absolute;
  left: 1em;
  line-height: 80px;
  color: #d7d6cb;
}
.search_top input {
  width: 350px;
  padding-left: 4rem;
  border-top-left-radius: 19px;
  border-bottom-left-radius: 19px;
  border: 1px solid #cc9756;
  line-height: 36px;
}
.search_text {
  position: absolute;
  top: 18px;
  display: inline-block;
  background-color: #b09351;
  line-height: 40px;
  width: 90px;
  text-align: center;
  color: #ffffff;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
.search_text:hover {
  cursor: pointer;
}
.search .search_bottom {
  position: absolute;
  top: 45px;
  left: 10px;
}
.search .search_bottom a{
  color: #b09351;
}
.middle>.shopcar {
  line-height: 100px;
  float: right;
  width: 300px;
  height: 100px;
  text-align: center;
  position: relative;
}
.middle>.shopcar>.car:hover{
  cursor: pointer;
  background-color: #efefef;
}
.middle>.shopcar>.car{
  margin: 23px 40px;
  height: 40px;
  width: 150px;
  border: 1px solid #b09351;
  border-radius: 20px;
}
.car .icon-gouwuche1 {
  position: absolute;
  top: -5px;
  left: 60px;
  color: #b09351;
}
.car .shopcar_text {
  display: inline-block;
  position: absolute;
  left: 100px;
  line-height: 45px;
  color: #b09351;
}
.car .icon-0 {
  position: absolute;
  top: -5px;
  left: 150px;
  color: #f04c4c;
}

/* 列表 */
.nav{
  position: sticky;
  width: 100%;
  height: 40px;
  line-height: 40px;
  top: 0px;
  background-color: #fff;
  z-index: 99;
}
.nav .list {
  width: 1200px;
  margin: auto;
  position: sticky;
  top: 0px;
  background-color: #fff;
}
.list ul{
  position: relative;
}
.list ul::after{
  content: '';
  clear: both;
  display: block;
}
.list >ul> li{
  float: left;
  font-size: 18px;
  width: 100px;
  font-weight: bold;
  line-height: 2em;
  text-align: center;
}
.list> ul >li a{
  width: 100px;
  color: #333;
}
.list> ul >li:nth-child(9)>a{
  border-right: 1px solid #383636;
  padding-right: 20px;
}
.list> ul >li div.second{
  display: none;
  width: 1500px;
  height: 300px;
  background-color: azure;
  position: absolute;
  top: 50px;
  left: -150px;
}
.list> ul >li:hover a{
  color: #cc9756;
  border-bottom: 4px solid #cc9756;
  padding-bottom: 5px;
}
.list> ul >li:hover div {
  display: block;
  z-index: 11;
  /* opacity: 50%; */
}

/* 轮播图 */
.lunbo {
  text-align: center;
}
.lunbo img {
  width: 1440px;
}
/* 热销榜 */
.hot_outer {
  position: sticky;
  top: 55px;
  width: 1400px;
  margin:auto;
  z-index: 20;
}
.hot_goods {
  height: 365px;
  position: sticky;
  float: left;
  border: 1px solid #E2DED6;
  box-sizing: border-box;
  background-color: #fff;
}
.hot_goods li {
  padding: 1px 11px 0;
  border-bottom: 1px solid #e2ded6;
  font-size: 12px;
  width: 100px;
  height: 36px;
  text-align: left;
  position: relative;
  display: table;
  cursor: pointer;
  box-sizing: border-box;
}
.hot_goods li:first-child {
  color: #bb3343;
  font-size: 14px;
  font-weight: 600;
  background-image: url(../img/热销榜.webp);
  text-align: center;
  line-height: 36px;
}
.hot_goods li img {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 2;
  left: 12px;
}
.hot_goods li span {
  display: table-cell;
  padding-left: 36px;
  line-height: 14px;
  vertical-align: middle;
}
/* 右侧边栏 */
.right_aside{
  position: sticky;
  top: 55px;
  width: 1400px;
  z-index: 10;
  margin:auto;
}
.right_aside img{
  width: 100px;
}
.right_aside>ul{
  line-height: 50px;
  height: 365px;
  position: sticky;
  float: right;
  background-color: #fff;
}
.right_aside>ul>li{
  border-top:1px solid #ededed ;
  color: #7e7979;
  font-size: 14px;
  width: 100px;
  height: 50px;
  text-align: center;
  display: table;
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
}
.right_aside div.content{
  display: none;
  position: absolute;
  height: 300px;
  width: 200px;
  background-color: aqua;
  top:0px;
  right: 100px;
}
.right_aside>ul>li>.title:hover+.content{
  display: block;

}
/* 人气推荐样式 */
.recommend .title {
  color: #333;
  font-size: 30px;
  padding: 20px;
}
.recommend {
  background-color: #ededed;
  padding: 2em 0;
}
.recommend>ul{
  margin-left: 25px;
}
/* 1200=450+20*3+230*3 */
.recommend>ul::after {
  content: '';
  display: block;
  clear: both;
}
.recommend>ul>li {
  width: 230px;
  height: 300px;
  float: left;
  margin-right: 20px;
  background-color: #fff;
}
.recommend>ul>li:nth-child(1) {
  width: 400px;
  height: 620px;
}
.recommend>ul>li:nth-child(2),
.recommend>ul>li:nth-child(3),
.recommend>ul>li:nth-child(4) {
  margin-bottom: 20px;
}
.recommend>ul>li:nth-child(4),
.recommend>ul>li:nth-child(7) {
  margin-right: 0px;
}
/* 底部样式 */
footer {
  background-color: #333;
}